﻿using System;
using System.Windows.Forms;

namespace CardsSimulator
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void hostujGręToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog dialog = new OpenFileDialog();
            if (dialog.ShowDialog() == DialogResult.OK)
            {
                CardGame.currentGame = new CardGame(dialog.FileName);
                Server server = new Server();
            }
        }

        private void dołączDoGryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Client client = new Client();
        }
    }
}
